
<div class="popup-statistic">
    <table border=0 class="tbl-popup1">
        <tr>
            <td>フィルタ</td>
            <td colspan="2">
                <input name="filter" type="text" style="width: 270px;"/>
            </td>
            
            <td style="width: 10%;"><input type="submit" value="検索"/></td>
            <td style="width: 10%;"><input type="button" value="クリア "/></td>
            <td class="f-right"></td>
        </tr>
    </table>
   <table class="adminlist">
		<thead>
			<tr>
				<th width="10%" class="left">
					コード 			
                </th>
                <th width="30%" class="left">
                    名称 
                </th>
				<th width="60%" class="left">
                    名称カナ				
                </th>
				
			</tr>
		</thead>
        
		<?php
        $count = count($this->ocba_list);
        $pager = array_chunk($this->ocba_list,2);
        foreach($pager as $key => $page){
            echo "<tbody style='position: relative;' id='page$key'>";
            foreach($page as $key => $row){
                $row_cls = $key % 2;
                echo "
                <tr class='row$row_cls'>
                    <td class='left'><a href='#'>$row->OCBA_CODE</a> </td>
                    <td class='left'>$row->OCBA_NAME</td>
                    <td class='left'>$row->OCBA_KANA</td>
                </tr>";
            }
            echo "</tbody>";
        }
        ?>
        <tfoot>
			<tr>
				<td colspan="15">
					<div class="pagination">                    
                        <div class="button2-right off"><div class="start"><span>最初ページへ</span></div></div>
                        <div class="button2-right off"><div class="prev"><span>前へ</span></div></div>
                        <div class="button2-left"><div class="page"><span>1</span><a href="#" title="2" >2</a></div></div>
                        <div class="button2-left"><div class="next"><a href="#" title="Next" >次へ</a></div></div>
                        <div class="button2-left"><div class="end"><a href="#" title="End" >最後ページへ</a></div></div>
                    </div>				
                </td>
			</tr>
		</tfoot>
        
       
	</table>
  
</div>
<?php 

$app = &JFactory::getApplication();
$app->close();

?>